﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;

namespace Mrhd.Core.Entities
{
    ///// <summary>
    ///// 角色与用户关系表
    ///// </summary>
    //[Table("Sys_RoleUser")]
    //[Comment("角色与用户关系表")]
    //public class RoleUser : IEntity
    //{
    //    [Key]
    //    [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
    //    public int Id { get; set; }
    //    /// <summary>
    //    /// 角色id
    //    /// </summary>
    //    [Comment("角色id")]
    //    public int RoleId { get; set; }
    //    /// <summary>
    //    /// 角色对象实体
    //    /// </summary>
    //    public virtual Role Role { get; set; }
    //    /// <summary>
    //    /// 用户id
    //    /// </summary>
    //    [Comment("用户id")]
    //    public int UserId { get; set; }
    //    /// <summary>
    //    /// 用户对象实体
    //    /// </summary>
    //    public virtual User User { get; set; }
    //}

}
